<template>
  <view class="submit-success-page">
	  <view class="bottomcolor"></view>
    <!-- 提交成功内容区域 -->
    <view class="content">
      <image 
        class="success-icon" 
        src="@/img/车联网服务商家端-07卡券管理3-发放优惠券_slices/组 6@2x.png" 
        mode="widthFix"
      ></image>
      <text class="success-title">提交成功</text>
      <text class="tips">等待平台审核</text>
      <button class="back-home-btn" @click="backToHome">返回首页</button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      // 可根据需求扩展数据
    };
  },
  methods: {
    onBack() {
      // 返回上一页
      uni.navigateBack({
        delta: 1
      });
    },
    backToHome() {
      // 返回首页，可根据实际路由调整
      uni.switchTab({
        url: '/pages/index/index'
      });
    }
  }
};
</script>

<style scoped>
/* 页面整体样式 */
.submit-success-page {
  background-color: #fff;
  min-height: 100vh;
  font-size: 14px;
  color: #333;
  position: relative;
  z-index: 1;
}
.bottomcolor{
	position: absolute;
	z-index: 2;
	background-color: #3399ff;
	height: 300rpx;
	width: 100%;
}
/* 内容区域样式 */
.content {
	position: absolute;
	z-index: 3;
	width: 94%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 50px 15px;
  box-sizing: border-box;
  margin: 100rpx 0 0 3%;
  background-color: white;
  border-radius: 20px;
}
.success-icon {
  width: 80px;
  margin-bottom: 20px;
}
.success-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.tips {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
}
.back-home-btn {
  width: 200px;
  height: 44px;
  line-height: 44px;
  background-color: #1296db;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
}
</style>